module.exports = {
    outputDir: "dist",
    assetsDir: "assets",
    devServer: {
        proxy: {
            // 广告后台接口
            "/gg": {
                target: "http://111.6.79.10:5400",
                // target: "http://111.6.79.1:21310/api/v1_0",
                changeOrigin: true,
                pathRewrite: { "^/gg": "" }
            },
            "/login": {
                target: "http://111.6.79.10:8082",
                // target: "http://111.6.79.1:21310/api/v1_0",
                changeOrigin: true,
                pathRewrite: { "^/login": "" }
            },
            "/cw": {
                target: "http://192.168.100.39:5500",
                // target: "http://111.6.79.1:21310/api/v1_0",
                changeOrigin: true,
                pathRewrite: { "^/cw": "" }
            }
        }
    }
}